<?xml version = "1.0" encoding = "utf-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
  
<html xmlns = "http://www.w3.org/1999/xhtml">
  <!-- 2012 lukbrasil -->
  <!-- Internet & World Wide Web How To Program - Exercise 8.16 -->
  <head>
    <title>Exercise 8.16</title>
    
    <script type = "text/javascript">
     <!--
     document.writeln("<pre>");
     
     for (var row = -4; row <= 4; ++row) {
       
       for (var space = 0; space < Math.abs(row); ++space) {
         document.write(" ");
       }
       
       for (var asterisk = 0; asterisk < 9 - Math.abs(row) * 2; ++asterisk) {
         document.write("*");
       }       
       
       document.writeln("");
     }
     
     document.writeln("</pre>");
     // -->
    </script>
  </head>
  <body>
  </body>
</html>
